package com.milk.nettylearn.nio;

import java.nio.ByteBuffer;
import java.nio.charset.StandardCharsets;

import static com.milk.nettylearn.nio.ByteBufferUtil.debugAll;

public class TestByteBufferString {
    public static void main(String[] args) {
        ByteBuffer buffer = ByteBuffer.allocate(10);
        buffer.put("你".getBytes(StandardCharsets.UTF_8));
        debugAll(buffer);


    }
}
